<?php
/**
 * Created by PhpStorm.
 * User: XD
 * Date: 2017/8/25
 * Time: 10:41
 */
 error_log("测试log日志写入文件",0);
 error_log("test log text send email",1,"xujiang5@163.com");  // 失败
 error_log("send a message to localhost:5000",2,"localhost:5000");
 error_log("write a message to assigned file",3,"D:\\log\\errors.log");
?>